package com.evony.common.server.events 
{
    import com.evony.common.*;
    
    public class CelebRankCompleteTipResponse extends com.evony.common.BaseBean
    {
        public function CelebRankCompleteTipResponse(arg1:String, arg2:Object, arg3:Boolean=false, arg4:Boolean=false)
        {
            var loc1:*=0;
            super(arg1, arg3, arg4);
            if (arg2.name != null) 
            {
                this.name = arg2.name;
            }
            if (arg2.rank != null) 
            {
                this.rank = arg2.rank;
            }
            return;
        }

        public function copyTo(arg1:com.evony.common.server.events.CelebRankCompleteTipResponse):void
        {
            arg1.name = this.name;
            arg1.rank = this.rank;
            return;
        }

        public override function toDebugString(arg1:String=""):String
        {
            var loc1:*=0;
            var loc2:*="---- CelebRankCompleteTipResponse ----\n";
            loc2 = loc2 + (arg1 + "name = " + this.name + "\n");
            loc2 = loc2 + (arg1 + "rank = " + this.rank + "\n");
            return loc2;
        }

        public function toObject():Object
        {
            var loc1:*=new Object();
            loc1.name = this.name;
            loc1.rank = this.rank;
            return loc1;
        }

        public var name:String;

        public var rank:int;
    }
}
